package cn.wetcland.urban.generator.domain;

import com.baomidou.mybatisplus.annotation.*;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName ut_customer_address
 */
@TableName(value ="ut_customer_address")
@Data
public class UtCustomerAddress implements Serializable {
    /**
     * 
     */
    @TableId(type = IdType.AUTO)
    private Long addressId;

    /**
     * 省ID
     */
    private Long addressProvinceId;

    /**
     * 市ID
     */
    private Long addressCityId;

    /**
     * 区ID
     */
    private Long addressDistrictId;

    private BigDecimal longitude;

    private BigDecimal latitude;

    /**
     * 地址详细信息
     */
    private String addressDetails;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 姓名
     */
    private String name;

    /**
     * 所属用户
     */
    private Long customerId;

    /**
     * 
     */
    private Integer isDefault;

    /**
     * 
     */
    @TableLogic
    private Integer isDelete;

    /**
     * 
     */
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    /**
     *
     */
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableField(exist = false)
    private static final long serialVersionUID = 1L;
}